import os
import sys

# 请在此输入您的代码
sum1 = 0
sum2 = 0

s = input()

for c in s:
  if c in 'aeiou':
    sum1 +=1
  else:
    sum2 += 1

print(sum1)
print(sum2)